package com.zjf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zjf.entity.Address;

import java.util.List;


public interface DeliveryAddressMapper extends BaseMapper<Address> {

    public List<Address> listDeliveryAddressByUserId(String userId);


    public Address getDeliveryAddressById(Integer daId);


    public int saveDeliveryAddress(Address address);


    public int updateDeliveryAddress(Address address);

    public int removeDeliveryAddress(Integer daId);

}
